package com.sikaryofficial.backend.domain.dto.resp;

import com.sikaryofficial.system.api.model.AddressDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 我的地址对象 address_user_t
 *
 * @author qinjinyuan
 * @date 2023-11-16
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "我的地址对象列表出参", description = "我的地址对象列表出参")
public class AddressUserListDTO implements Serializable {

    /**
     * 我的地址ID
     */
    private Long userAddressId;

    /**
     * 地址ID
     */
    @ApiModelProperty(value = "地址ID", example = "122335")
    private Long addressId;

    /**
     * 名字
     */
    @ApiModelProperty(value = "名字", example = "张三")
    private String firstName;

    /**
     * 姓
     */
    @ApiModelProperty(value = "姓", example = "张")
    private String lastName;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", example = "135****8888")
    private String phoneNumber;

    /**
     * 地址详情
     */
    @ApiModelProperty(value = "地址详情", example = "北京市海淀区")
    private String addressDetail;

    /**
     * 地址对象
     */
    @ApiModelProperty(value = "地址对象")
    private AddressDTO address;

    /**
     * 默认地址：0-默认 1-非默认
     */
    @ApiModelProperty(value = "默认地址：0-默认 1-非默认", example = "0")
    private Integer addressDefault;

    /**
     * 支付账号
     */
    @ApiModelProperty(value = "支付账号", example = "0")
    private String paymentAccount;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", example = "xxx@126.com")
    private String email;

    @ApiModelProperty(value = "是否是支付账号 0-否 1-是，默认0-否", example = "0")
    private int hasPayment;

    /**
     * 创建人
     */
    private Long createdBy;

    /**
     * 国家
     */
    @ApiModelProperty(value = "国家")
    private String country;

    /**
     * 区域
     */
    @ApiModelProperty(value = "区域")
    private String area;

    /**
     * 城市
     */
    @ApiModelProperty(value = "城市")
    private String city;

    /**
     * 区县
     */
    @ApiModelProperty(value = "区县")
    private String county;
    /**
     * 邮编(可选)
     */
    @ApiModelProperty(value = "邮编(可选)")
    private String postCode;
}
